$f: 19.2;

body [aos] {
  -webkit-transition-duration: 2.5s;
  transition-duration: 2.5s;
  -webkit-transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
  transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
}


html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: unset !important;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 600ms;
  padding: 26/$f+vw 160/$f+vw;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .logo {
    img {
      width: 244/$f+vw;
      display: block;
    }
  }

  .links {
    display: flex;
    align-items: center;

    a {
      text-transform: capitalize;
      margin: 0 40/$f+vw;
      transition: all 600ms;

      &:hover,
      &.on {
        color: #0F77FF;
      }

      &:last-child {
        margin-right: 0;
      }
    }
  }
}


.hasBg {
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(12px);
}


.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;

    .l {
      display: flex;
      align-items: center;

      a {
        margin-left: 20px;
        // transform: translateY(2px);
        display: flex;
        align-items: center;

        img {
          height: 50px;
          object-fit: contain;
        }

        p {
          margin-left: 10px;
          font-size: 14px;
        }
      }

    }



    .navbox {
      margin-right: 20px;
      transition: all 600ms;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      transform: translateX(10px);

      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: #ececec;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background: #ececec;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: capitalize;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        // width: 100%;
        display: block;
      }

      img {
        width: 30px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.foot {
  padding: 60/$f+vw 160/$f+vw 0 160/$f+vw;
  border-radius: 60/$f+vw 60/$f+vw 0px 0px;
  background: #FFF;
  position: relative;

  .logo {
    img {
      width: 294/$f+vw;
    }
  }

  .d1 {
    margin: 40/$f+vw 0 74/$f+vw 0;
    display: flex;
    justify-content: space-between;

    .l {
      display: flex;

      .item {
        &:not(:last-child) {
          margin-right: 80/$f+vw;
        }

        .p1 {
          text-transform: capitalize;
          margin-bottom: 24/$f+vw;
          font-weight: 400;
        }

        .aList {
          a {
            display: block;
            line-height: 1.42;
            text-transform: capitalize;
            font-weight: 300;

            &:not(:last-child) {
              margin-bottom: 16/$f+vw;
            }

            &:hover {
              text-decoration: underline;
            }
          }
        }
      }
    }

    .r {
      .icons {
        display: flex;
        margin: 24/$f+vw 0;

        a {
          position: relative;

          img {
            width: 24/$f+vw;
            display: block;
            transition: all 600ms;
          }

          .code {
            width: 103/$f+vw;
            height: 119/$f+vw;
            background: url(../images/cbg.svg) no-repeat;
            background-size: 100% 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 50%;
            top:100%;
            transform: translateX(-50%);
            display: none;
            img {
              width: 82/$f+vw;
              display: block;
              object-fit: cover;
              margin-top: 15/$f+vw;
            }
          }

          &:not(:last-child) {
            margin-right: 24/$f+vw;
          }

          &:hover {
            img {
              transform: scale(1.05);
            }
            .code{
              display: flex;
            }
          }
        }
      }

      .info {
        line-height: 1.87;
        font-weight: 300;
      }
    }
  }

  .d2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13/$f+vw 0 16/$f+vw 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);

    .l {
      font-weight: 300;
      line-height: 2;
    }

    .r {
      display: flex;
      align-items: center;
      line-height: 2;

      a {
        font-weight: 300;

        &:hover {
          text-decoration: underline;
        }
      }

      span {
        width: 1px;
        height: 16px;
        background: rgba(0, 0, 0, 0.15);
        margin: 0 27/$f+vw;
      }
    }
  }
}

@media screen and (max-width: 1024px) {


  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }

  .foot {
    padding: 30px 5% 0 5%;
    border-radius: 30px 30px 0px 0px;

    .logo {
      img {
        width: 200px;
      }
    }

    .d1 {
      margin: 20px 0;
      flex-direction: column;

      .l {
        display: none;
      }

      .r {
        .icons {
          margin: 12px 0;

          a {
            img {
              width: 20px;
            }
            .code{
              width:60px ;
              height: 70px;
              img{
                width: 45px;
                margin-top: 8px;
              }
            }

            &:not(:last-child) {
              margin-right: 12px;
            }
          }
        }
      }
    }

    .d2 {
      padding: 8px 0;
      flex-direction: column;
      text-align: center;

      .r {
        line-height: 1.5;

        span {
          margin: 0 13px;
        }
      }
    }
  }
}